package com.maycur.ctrip.domain;

import org.apache.commons.lang3.StringUtils;

import java.math.BigDecimal;
import java.util.Date;

public class TrainTicket {
    private Integer id;

    private String orderId;

    private Integer trainId;

    private String trainName;

    private Integer ticketId;

    private Date departureAt;

    private Date arrivalAt;

    private String departureCityCode;

    private String departureCityName;

    private String departureCityNameEN;

    private String departureStationName;

    private String departureStationNameEN;

    private String arrivalCityCode;

    private String arrivalCityName;

    private String arrivalCityNameEN;

    private String arrivalStationName;

    private String arrivalStationNameEN;

    private Integer arrivalStationType;

    private Integer firstSeatTypeId;

    private String firstSeatTypeName;

    private BigDecimal ticketAmount;

    private Integer trainTypeId;

    private String orderId12306;

    private BigDecimal serviceAmount;

    private BigDecimal postAmount;

    private BigDecimal paperTicketAmount;

    private Date createdAt;

    private Date updatedAt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = StringUtils.isEmpty(orderId)? null : orderId.trim();
    }

    public Integer getTrainId() {
        return trainId;
    }

    public void setTrainId(Integer trainId) {
        this.trainId = trainId;
    }

    public String getTrainName() {
        return trainName;
    }

    public void setTrainName(String trainName) {
        this.trainName = StringUtils.isEmpty(trainName)? null : trainName.trim();
    }

    public Integer getTicketId() {
        return ticketId;
    }

    public void setTicketId(Integer ticketId) {
        this.ticketId = ticketId;
    }

    public Date getDepartureAt() {
        return departureAt;
    }

    public void setDepartureAt(Date departureAt) {
        this.departureAt = departureAt;
    }

    public Date getArrivalAt() {
        return arrivalAt;
    }

    public void setArrivalAt(Date arrivalAt) {
        this.arrivalAt = arrivalAt;
    }

    public String getDepartureCityCode() {
        return departureCityCode;
    }

    public void setDepartureCityCode(String departureCityCode) {
        this.departureCityCode = StringUtils.isEmpty(departureCityCode)? null : departureCityCode.trim();
    }

    public String getDepartureCityName() {
        return departureCityName;
    }

    public void setDepartureCityName(String departureCityName) {
        this.departureCityName = StringUtils.isEmpty(departureCityName)? null : departureCityName.trim();
    }

    public String getDepartureCityNameEN() {
        return departureCityNameEN;
    }

    public void setDepartureCityNameEN(String departureCityNameEN) {
        this.departureCityNameEN = StringUtils.isEmpty(departureCityNameEN)? null : departureCityNameEN.trim();
    }

    public String getDepartureStationName() {
        return departureStationName;
    }

    public void setDepartureStationName(String departureStationName) {
        this.departureStationName = StringUtils.isEmpty(departureStationName)? null : departureStationName.trim();
    }

    public String getDepartureStationNameEN() {
        return departureStationNameEN;
    }

    public void setDepartureStationNameEN(String departureStationNameEN) {
        this.departureStationNameEN = StringUtils.isEmpty(departureStationNameEN)? null : departureStationNameEN.trim();
    }

    public String getArrivalCityCode() {
        return arrivalCityCode;
    }

    public void setArrivalCityCode(String arrivalCityCode) {
        this.arrivalCityCode = StringUtils.isEmpty(arrivalCityCode)? null : arrivalCityCode.trim();
    }

    public String getArrivalCityName() {
        return arrivalCityName;
    }

    public void setArrivalCityName(String arrivalCityName) {
        this.arrivalCityName = StringUtils.isEmpty(arrivalCityName)? null : arrivalCityName.trim();
    }

    public String getArrivalCityNameEN() {
        return arrivalCityNameEN;
    }

    public void setArrivalCityNameEN(String arrivalCityNameEN) {
        this.arrivalCityNameEN = StringUtils.isEmpty(arrivalCityNameEN)? null : arrivalCityNameEN.trim();
    }

    public String getArrivalStationName() {
        return arrivalStationName;
    }

    public void setArrivalStationName(String arrivalStationName) {
        this.arrivalStationName = StringUtils.isEmpty(arrivalStationName)? null : arrivalStationName.trim();
    }

    public String getArrivalStationNameEN() {
        return arrivalStationNameEN;
    }

    public void setArrivalStationNameEN(String arrivalStationNameEN) {
        this.arrivalStationNameEN = StringUtils.isEmpty(arrivalStationNameEN)? null : arrivalStationNameEN.trim();
    }

    public Integer getArrivalStationType() {
        return arrivalStationType;
    }

    public void setArrivalStationType(Integer arrivalStationType) {
        this.arrivalStationType = arrivalStationType;
    }

    public Integer getFirstSeatTypeId() {
        return firstSeatTypeId;
    }

    public void setFirstSeatTypeId(Integer firstSeatTypeId) {
        this.firstSeatTypeId = firstSeatTypeId;
    }

    public String getFirstSeatTypeName() {
        return firstSeatTypeName;
    }

    public void setFirstSeatTypeName(String firstSeatTypeName) {
        this.firstSeatTypeName = StringUtils.isEmpty(firstSeatTypeName)? null : firstSeatTypeName.trim();
    }

    public BigDecimal getTicketAmount() {
        return ticketAmount;
    }

    public void setTicketAmount(BigDecimal ticketAmount) {
        this.ticketAmount = ticketAmount;
    }

    public Integer getTrainTypeId() {
        return trainTypeId;
    }

    public void setTrainTypeId(Integer trainTypeId) {
        this.trainTypeId = trainTypeId;
    }

    public String getOrderId12306() {
        return orderId12306;
    }

    public void setOrderId12306(String orderId12306) {
        this.orderId12306 = StringUtils.isEmpty(orderId12306)? null : orderId12306.trim();
    }

    public BigDecimal getServiceAmount() {
        return serviceAmount;
    }

    public void setServiceAmount(BigDecimal serviceAmount) {
        this.serviceAmount = serviceAmount;
    }

    public BigDecimal getPostAmount() {
        return postAmount;
    }

    public void setPostAmount(BigDecimal postAmount) {
        this.postAmount = postAmount;
    }

    public BigDecimal getPaperTicketAmount() {
        return paperTicketAmount;
    }

    public void setPaperTicketAmount(BigDecimal paperTicketAmount) {
        this.paperTicketAmount = paperTicketAmount;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}
